package com.feeyin.radar.msg.dao.impl;

import com.feeyin.radar.msg.dao.WarningInfoObjectDAO;
import com.feeyin.radar.msg.model.WarningInfoObject;
import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class WarningInfoObjectDAOImpl extends SqlMapClientDaoSupport
  implements WarningInfoObjectDAO
{
  public boolean insertWarningInfoObject(WarningInfoObject warningInfoObject)
  {
    if (warningInfoObject == null) return false;
    Integer result = (Integer)getSqlMapClientTemplate().insert("insertWarningInfoObject", warningInfoObject);
    return result != null;
  }
}